package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TQrtzFiredTriggers extends TableDef {

    public static final TQrtzFiredTriggers qrtz_fired_triggers = new TQrtzFiredTriggers("qrtz_fired_triggers");

    public QueryColumn sched_name = new QueryColumn(this, "sched_name");
    public QueryColumn entry_id = new QueryColumn(this, "entry_id");
    public QueryColumn trigger_name = new QueryColumn(this, "trigger_name");
    public QueryColumn trigger_group = new QueryColumn(this, "trigger_group");
    public QueryColumn instance_name = new QueryColumn(this, "instance_name");
    public QueryColumn fired_time = new QueryColumn(this, "fired_time");
    public QueryColumn sched_time = new QueryColumn(this, "sched_time");
    public QueryColumn priority = new QueryColumn(this, "priority");
    public QueryColumn state = new QueryColumn(this, "state");
    public QueryColumn job_name = new QueryColumn(this, "job_name");
    public QueryColumn job_group = new QueryColumn(this, "job_group");
    public QueryColumn is_nonconcurrent = new QueryColumn(this, "is_nonconcurrent");
    public QueryColumn requests_recovery = new QueryColumn(this, "requests_recovery");

    public QueryColumn[] default_columns = new QueryColumn[]{sched_name, entry_id, trigger_name, trigger_group, instance_name, fired_time, sched_time, priority, state, job_name, job_group, is_nonconcurrent, requests_recovery};
    public QueryColumn[] all_columns = new QueryColumn[]{sched_name, entry_id, trigger_name, trigger_group, instance_name, fired_time, sched_time, priority, state, job_name, job_group, is_nonconcurrent, requests_recovery};

    public TQrtzFiredTriggers(String tableName) {
        super(tableName);
    }
}
